<style>
    /*样式写这里*/
    .demo-table table tbody tr td span{
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width:580px;
        display:block;
    }

</style>
<!--JS脚本部分，不要将JS脚本写在其它地方-->
<script type="text/javascript" src="/encryption365/static/semantic-ui/semantic.min.js"></script>
<link rel="stylesheet" type="text/css" href="/encryption365/static/css/datatables.min.css"/>
<link rel="stylesheet" type="text/css" href="/encryption365/static/css/style.css"/>
<script type="text/javascript" src="/encryption365/static/js/datatables.min.js"></script>
<script type="text/javascript" src="/encryption365/static/js/application.js"></script> <!--引用插件目录下的static/js/application.js-->

<div class="bt-form" style="overflow: hidden;">
    <div class="bt-w-main">
        <!--菜单部分-->
        <div class="bt-w-menu">
            <p class="bgw" onclick="encryption365.page('siteList')">站点列表</p>
            <p onclick="encryption365.page('getOrgTempList')">组织模板</p>
            <p onclick="encryption365.page('getClientLogs')">操作日志</p>
            <p onclick="encryption365.page('clientInfo')">关于账户</p>
            <p onclick="encryption365.page('addFunds',{},'账户查询中')">余额充值</p>
            <p onclick="encryption365.page('getOnlineSupport')"><span style="height: 6px; background: #e20006; border-radius: 6px; width: 6px; position: absolute; right: 35px; top: 10px;"></span>在线客服</p>
            <p onclick="encryption365.page('getSupport')">联系方式</p>
        </div>
        <!--内容部分-->
        <div class="updater-container" style="display: none;">
            <span class="titleh">已发布 V<i id="update-version">未定义</i> 版本</span>
            <div id="update-description"></div>
            <p style="margin-top: 1rem;">
                <a href="https://github.com/londry/Encryption365_Baota/releases" class="btn btn-xs btn-success" target="_blank">
                    <i class="glyphicon glyphicon-download"></i> 立即下载
                </a>
                <a href="https://www.secoper.com/question/2471.html?utm_source=bt-panel_update_msg" class="btn btn-xs btn-info" target="_blank">
                    <i class="glyphicon glyphicon-cog"></i> 查看升级教程
                </a>
            </p>
        </div>
        <div class="bt-w-con pd15" style="height: 100%;overflow-y: scroll;padding: 10px;">
            <div class="plugin_body">
                <div class="enc365-bootstrap" style="margin-top: 25%;">
                    <img style="height: 43px;" src="/encryption365/static/img/logo-encryption365.svg" class="enc365-main-logo">
<!--                    <p class="enc365-boot-message">网站安全证书管理器</p>-->
                    <div>
                        <img src="/encryption365/static/img/svg-loader.svg" class="enc365-bootloader" style="height: 35px;margin-top: 20px;">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<script type="text/javascript">
    //第一次打开窗口时调用
    setTimeout('encryption365.page(\'siteList\')', 1000);
    $(document).ready(function(){
        $('.layui-layer-title').html('<img width="48" src="" style=" height: 20px; width: 20px; "> <span style="font-weight:500;">环智中诚</span> - 网站安全证书管理器');
        // 动态监测版本更新
        encryption365.checkClientVersion(function(res){
            console.log(res);
            if(undefined !== res.status && res.status === "success"){
                $('#update-version').html(res.updateVersion);
                $('#update-description').html(res.updateDescription);
                $('.updater-container').show();
            }
        });
    });
</script>